program to find all paris integers